package com.ssmTest.service;

import com.ssmTest.model.Interviews;
import com.ssmTest.model.JobAd;
import com.ssmTest.model.Order;
import com.ssmTest.model.Result;

import java.util.List;

public interface IInterviewsService {
    void insertInterviews(Interviews interviews);

    Interviews selectInterviewsByID(int id);

    List<Interviews> interviewsList(int toexamine);

    List<Interviews> interviewsList();

    List<Interviews> selectInterviewsByDate(String startdate, String enddate);

    int numberOfInterviews(String startdate, String enddate);

    Result preseInterview(String json);

    void delInterview(int id);

    void updateInterview(Interviews interviews);

    //审核失败原因
    boolean updateInterviewReasion(int id, String remark);

    List<Interviews> selectInterviews(int second_party,int pagenum);
    List<Interviews> selectInterview(int first_party,int pagenum);

    List<Interviews> selectByPersionalId(int personal_id);
}
